package com.lecture.junit.tdd.example;

import java.util.Date;

public interface IAccount {

    public boolean passwordMatches(String password);

    public void setPassword(String newPassword);

    public void setLoggedIn(boolean loggedIn);

    public void setRevoked(boolean revoked);

    public boolean isRevoked();

    public String getUserName();

    void setLastPasswordChanged(Date date);

    Date getLastPasswordChanged();

    void setLastLoginTime(Date date);

    Date getLastLoginTime();

    Date getLastLogoutTime();

}
